import request from '@/utils/request'

class APISearch {
    /** 搜索 */
    static searchShop(data: any, params: any) {
        return request<any>('/SearchShop', {
            method: 'POST',
            body: data,
            params
        })
    }

    static getConditionSelect(type: any) {
        return request<any>('/getConditionSelect', {
            method: 'POST',
            body: { type }
        })
    }
    static getAiSearch(data: any) {
        return request<any>('/getAiSearch', {
            method: 'POST',
            body: data
        })
    }


}

export default APISearch
